package ex.hql.pojo;

/**
 * @program:yeb
 * @author: hql
 * @Time: 2021/9/5  16:09
 * @description: 消息状态
 */
public class MailConstants {
    //未投递状态
    public static  final Integer DELIVERING=0;
    //投递成功状态
    public static final Integer SUCCESS=1;
    //投递失败
    public  static  final Integer FAILURE=2;
    //最大重试次数
    public static  final Integer MAX_TRY_COUNT=3;
    //超时时间
    public static final  Integer MSG_TIMEOUT=1;
    //队列名字
    public static  final  String MAIL_QUEUE_NAME="mail-queue";
    //交换机名字
    public static  final String MAIL_EXCHANGE_NAME="mail-exchange";
    //key
    public static final String MAIL_ROUTING_KEY_NAME="mail.routing.key";

}
